@import "modules/reset.scss";

body{
    background: url("/images/register/bg_9b9dcb65ff.png");
}

.registerBox{
    width: 450px;
    height: 596px;
    margin: 108px auto 0;
    background-color: #fff;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    box-shadow: 0 15px 20px 5px #bfbfbf;
    // overflow: hidden;
    .registerHeader{
        height: 61px;
        background-color: #f2f2f2;
        border-bottom: 1px solid #d4d4d4;
        border-radius: 8px 8px 0 0;
        h1{
            font-size: 20px;
            text-align: center;
            line-height: 61px;
            font-weight: bold;
            color: #535353;
        }
    }
    .formBox{
        height: 474px;
        width: 370px;
        margin: 0 auto;
        box-sizing: border-box;
        padding-top: 30px;
        border-bottom: 1px solid #d1d1d1;
        border-radius: 0 0 8px 8px;
        .formList{
            opacity: 0.6;
            margin-bottom: 15px;
            width: 370px;  
            height: 48px;
            position: relative;
            &:hover{
                opacity: 1;
            }
            &.focusInput{
                opacity: 1;
                .formLogo{
                    border-color: #5377e4;
                    border-right-color: #d7d7d7;
                }
                .formInput{
                    border-color: #5377e4;
                }
                .notice{
                    display: block;
                    z-index: 11;
                }
            }
            &.warningInput{
                opacity: 1;
                .formLogo{
                    border-color: #c5574f;
                    border-right-color: #d7d7d7;
                }
                .formInput{
                    border-color: #c5574f;
                }
                .warning{
                    display: block;
                }
            }
            .formLogo{
                width: 48px;
                height: 48px;
                box-sizing: border-box;
                border: 1px solid #d7d7d7;
                border-radius: 6px 0 0 6px;
                background-color: #f9f9f9;
                cursor: pointer;
                float: left;
                display: flex;
                justify-content: center;
                align-items: center;
            }
            .formInput{
                width: 322px;
                height: 48px;
                box-sizing: border-box;
                border: 1px solid #d7d7d7;
                border-left: none;
                border-radius: 0 6px 6px 0;
                box-shadow: 0 0 8px 1px #e6e6e6 inset;
                text-indent: 15px;
                font-size: 16px;
                line-height: 48px;
                color: #333;
            }
            .placeholderMsg{
                height: 48px;
                position: absolute;
                top: 0;
                left: 64px;
                font-size: 15px;
                line-height: 48px;
                color: #aeaeae;
            }
            .warning{
                position: absolute;
                padding: 0 10px;
                height: 26px;
                background-color: #c5574f;
                border-radius: 5px;
                font-size: 12px;
                line-height: 26px;
                text-align: center;
                font-weight: bold;
                color: #fff;
                top: 11px;
                right: 11px;
                display: none;
            }
            .notice{
                position: absolute;
                padding: 0 18px;
                height: 52px;
                box-sizing: border-box;
                border: 1px solid #d1d1d1;
                border-radius: 6px;
                background-color: #fff;
                top: 48px; 
                left: 0;
                font-size: 14px;
                line-height: 52px;
                text-align: center;
                color: #878787;
                display: none;
            }
        }
        .countryForm{
            .formLogo i{
                display: block;
                width: 16px;
                height: 16px;
                background: url("/images/register/dialog-input-icons_ff627ad6dc.png") no-repeat -208px center;
            }
            .countryMsg{
                height: 48px;
                position: absolute;
                top: 0;
                left: 68px;
                font-size: 15px;
                line-height: 48px;
                color: #666;
            }
            .changeBtn{
                position: absolute;
                height: 48px;
                top: 0;
                right: 12px;
                display: flex;
                justify-content: start;
                align-items: center;
                cursor: pointer;
                span{
                    display: block;
                    font-size: 14px;
                    line-height: 14px;
                    color: #666;
                }
                i{
                    display: block;
                    width: 8px;
                    height: 12px;
                    background: url("/images/register/ic_change_7ce7ba3a23.png") no-repeat;
                    margin-left: 15px;
                }
            }
        }
        .telForm{
            display: block;
            .formLogo i{
                display: block;
                width: 15px;
                height: 16px;
                background: url("/images/register/dialog-input-icons_ff627ad6dc.png") no-repeat -18px center;
            }
            input.formInput{
                text-indent: 63px;
            }
            .shiQu{
                height: 48px;
                position: absolute;
                top: 0;
                left: 64px;
                font-size: 16px;
                line-height: 48px;
                font-weight: bold;
                color: #666;
            }
            .placeholderMsg{
                left: 112px;
            }
            
        }
        .noteBox{
            height: 48px;
            margin-bottom: 15px;
            position: relative;
            .noteForm{
                display: block;
                width: 230px;
                float: left;
                &.warningIInput{
                    opacity: 1;
                    .formLogo{
                        border-color: #c5574f;
                        border-right-color: #d7d7d7;
                    }
                    .formInput{
                        border-color: #c5574f;
                    }
                    .warningI{
                        display: block;
                    }
                    .noteContent{
                        border-color: #c5574f;
                        p:nth-of-type(1){
                            background-color: #c5574f;
                            color: #fff;
                        }
                    }
                }
                .formLogo i{
                    display: block;
                    width: 17px;
                    height: 18px;
                    background: url("/images/register/dialog-input-icons_ff627ad6dc.png") no-repeat -112px center;
                }
                .noteInput{
                    width: 182px;
                }
                .noteContent{
                    position: absolute;
                    width: 120px;
                    height: 80px;
                    top: -20px;
                    left: 450px;
                    box-sizing: border-box;
                    border: 1px solid #d7d7d7;
                    border-radius: 5px;
                    overflow: hidden;
                    display: none;
                    
                    p{
                        &:nth-of-type(1){
                            height: 30px;
                            background-color: #ddd;
                            text-align: center;
                            line-height: 30px;
                            font-size: 16px;
                            font-weight: bold;
                            color: #000;
                        }
                        &:nth-of-type(2){
                            height: 50px;
                            background-color: #fff;
                            font-size: 20px;
                            font-weight: bold;
                            color: #5377e4;
                            text-align: center;
                            line-height: 50px;
                            letter-spacing: 2px;
                        }
                    }
                }
                .warning{ 
                    right: 11px;
                }
                .warningI{
                    position: absolute;
                    padding: 0 10px;
                    height: 26px;
                    background-color: #c5574f;
                    border-radius: 5px;
                    font-size: 12px;
                    line-height: 26px;
                    text-align: center;
                    font-weight: bold;
                    color: #fff;
                    top: 11px;
                    right: 11px;
                    display: none;
                }
            }
            .noteBtn{
                width: 132px;
                height: 48px;
                box-sizing: border-box;
                float: right;
                background-color: #fafafa;
                border: 1px solid #efefef;
                border-radius: 6px;
                font-size: 15px;
                line-height: 48px;
                text-align: center;
                color: #b4b4b4;
                &.ready{
                    background-color: #f2f2f2;
                    color: #535353;
                    border-color: #d7d7d7;
                    cursor: pointer;
                }
            }
        }
        .pwdForm{
            display: block;
            .formLogo i{
                display: block;
                width: 17px;
                height: 18px;
                background: url("/images/register/dialog-input-icons_ff627ad6dc.png") no-repeat -64px center;
            }
            
        }
        .pwdRForm{
            display: block;
            &.warningRInput{
                opacity: 1;
                .formLogo{
                    border-color: #c5574f;
                    border-right-color: #d7d7d7;
                }
                .formInput{
                    border-color: #c5574f;
                }
                .warningR{
                    display: block;
                }
            }
            .formLogo i{
                display: block;
                width: 15px;
                height: 16px;
                background: url("/images/register/dialog-input-icons_ff627ad6dc.png") no-repeat -18px center;
            }
            .warningR{
                position: absolute;
                padding: 0 10px;
                height: 26px;
                background-color: #c5574f;
                border-radius: 5px;
                font-size: 12px;
                line-height: 26px;
                text-align: center;
                font-weight: bold;
                color: #fff;
                top: 11px;
                right: 11px;
                display: none;
            }
        }
        .agreeBox{
            height: 16px;
            margin-top: 16px;
            display: flex;
            justify-content: start;
            align-items: center;
            position: relative;
            i{
                display: block;
                width: 16px;
                height: 16px;
                background: url("/images/register/checkbox_f49f6e4acf.png") no-repeat -1px -20px;
                cursor: pointer;
            }
            span{
                margin-left: 9px;
                font-size: 11px;
                line-height: 11px;
                color: #878787;
                a{
                    color: #4061cf;
                }
            }
        }
        .registerBtn{
            width: 368px;
            height: 48px;
            box-sizing: border-box;
            margin: 33px auto 0;
            background-color: #a3b6e4;
            border: 1px solid #aebadb;
            border-radius: 6px;
            font-size: 17px;
            line-height: 48px;
            text-align: center;
            font-weight: bold;
            color: #f7f7f7;
            &.ready{
                cursor: pointer;
                background-color: #4d73d6;
                color: #fff;
                border-color: #334ca0;
            }
        }

    }
    .loginBox{
        height: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 11px;
        line-height: 11px;
        span{
            color: #878787;
        }
        a{
            color: #4061cf;
            margin-left: 3px;
        }
    }
}

.resultBox{
    width: 300px;
    height: 200px;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto auto;
    background-color: #eee;
    border: 2px solid #000;
    border-radius: 10px;
    display: none;
    z-index: 11;
    p{
        font-size: 40px;
        line-height: 200px;
        height: 200px;
        font-weight: bold;
        text-align: center;
        color: #f40;
    }
    a{
        display: block;
        position: absolute;
        bottom: 5px;
        right: 10px;
        color: #4d73d6;
    }
}

.footer{
    margin-top: 108px;
    p{
        &:first-child{
            font-size: 12px;
            text-align: center;
            line-height: 12px;
            height: 12px;
            color: #646464;
        }
        &:last-child{
            font-size: 11px;
            height: 11px;
            line-height: 11px;
            text-align: center;
            margin-top: 15px;
            color: #4061cf;
        }
    }
}